package com.wxxymakers.grademark.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
@Data
@TableName
public class WxRole implements Serializable {
    @TableId
    private Integer id;

    /**
     * 角色名
     */
    private String name;

    /**
     * 角色标识，以此作为角色判断依据
     */
    private String sign;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date datetime;

    private static final long serialVersionUID = 1L;
}